repo: Fix object storage size API to be 64 bit
authorColin Walters <walters@verbum.org>
Sun, 18 Aug 2013 11:56:20 +0000 (07:56 -0400)
committerColin Walters <walters@verbum.org>
Sun, 25 Aug 2013 19:19:54 +0000 (15:19 -0400)
This fixes a pointer size warning on 32-bit builds.

https://bugzilla.gnome.org/show_bug.cgi?id=706235

src/libostree/ostree-repo.c
src/libostree/ostree-repo.h

index a77a5025a79e0a2d515b220024887dc2fd30c80f..f571989003e5d2c7643095abb51832e754fd335f 100644 (file)
@@ -2361,7 +2361,7 @@ gboolean
 ostree_repo_query_object_storage_size (OstreeRepo           *self,
                                        OstreeObjectType      objtype,
                                        const char           *sha256, 
-                                       gsize                *out_size,
+                                       guint64              *out_size,
                                        GCancellable         *cancellable,
                                        GError              **error)
 {
index 543476700a4b8e6d70ebcb25585c99cab734ed7d..a5ad741362c43565ed82def26fb0dbcee20a379e 100644 (file)
@@ -216,7 +216,7 @@ gboolean ostree_repo_load_object_stream (OstreeRepo         *self,
 gboolean      ostree_repo_query_object_storage_size (OstreeRepo           *self,
                                                      OstreeObjectType      objtype,
                                                      const char           *sha256, 
-                                                     gsize                *out_size,
+                                                     guint64              *out_size,
                                                      GCancellable         *cancellable,
                                                      GError              **error);